﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    EnableEventValidation="false" CodeFile="old-quotes.aspx.cs" Inherits="carinsurance_old_quotes" %>

<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
    <title>Last Year - Car Insurance Quotes - GG-CRM - กล้วยๆ.com - Teledirect Thailand
    </title>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphPageTitle" runat="Server">
    <table width="100%" cellpadding="5">
        <tr>
            <td style="width: 800px">
                <h1>
                    <asp:Label runat="server" Text="Last Year - Car Insurance Quotes" ID="lblPageName"></asp:Label>
                    <asp:Label runat="server" Text="" ID="lblCallTypeDesc"></asp:Label></h1>
            </td>
            <td style="width: 200px; text-align: right;">
                &nbsp;
            </td>
            <td style="text-align: right">
                &nbsp;
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="upnlDetails" runat="server">
        <ContentTemplate>
            <asp:Label runat="server" Text="<%$Resources:General,LangOption%>" Visible="false"
                ID="lblLangOption" />
            <div class="bc2">
                <asp:Label runat="server" ID="lblSiteLocation" Text="You are here : " CssClass="bclist" />
                <asp:SiteMapPath SiteMapProvider="SiteUserSiteMapProvider" ID="smpProvider" runat="server"
                    PathSeparator=" : ">
                    <PathSeparatorStyle CssClass="bcarrow" />
                    <CurrentNodeStyle CssClass="bclist" />
                    <NodeStyle CssClass="bclink" />
                    <RootNodeStyle CssClass="bclink" />
                </asp:SiteMapPath>
                <div class="clear">
                </div>
            </div>
            <div>
                <asp:HyperLink ID="hplSearch" CssClass="wButton bluewB mr15 mt10" Visible="true"
                    runat="server" Text="Search Customer" NavigateUrl="~/carinsurance/ViewCICustomerCallNewSearch.aspx?page=oldquote" />
                &nbsp;&nbsp;
                <asp:HyperLink ID="hplNew" CssClass="wButton bluewB mr15 mt10" Visible="true"
                    runat="server" Text="New Customer" NavigateUrl="~/carinsurance/old-quotes.aspx" />
                &nbsp;&nbsp;
                <asp:HyperLink ID="hplUploadDocument" CssClass="wButton bluewB mr15 mt10" Visible="false"
                    runat="server" Text="Upload File" NavigateUrl="" />
            </div>
            <div style="display: none;">
                <img src="../images/icons/dark/call.png" alt="" class="titleIcon" /><h6>
                    <asp:Label ID="lblStartDayNameCaption" Font-Bold="true" runat="server" Text="<%$Resources:General,Started%>" />
                    at
                    <asp:Label runat="server" ID="lblStartDayName" Font-Bold="true" />
                    &nbsp;<asp:Label runat="server" ID="lblStartDateTime" Visible="true" ForeColor="Red"
                        Font-Bold="true" />
                    <asp:Label ID="lblCallDurationCaption" Font-Bold="true" runat="server" Text="<%$Resources:General,CallDuration%>" />
                    <span style="display: none;">M:<asp:TextBox runat="server" ID="txtMinute" Text="00"
                        Width="30px" />
                        S:<asp:TextBox runat="server" ID="txtSecond" Text="00" Width="30px" /></span>
                    <asp:Label runat="server" ID="lblCallDurationTimer" Font-Bold="true" Font-Size="Large" />
                </h6>
            </div>
            <table class="sTable" width="100%">
                <tr>
                    <td>
                        <asp:Label runat="server" Text="" ID="lblCallSessionName" Font-Bold="true"></asp:Label>
                    </td>
                </tr>
            </table>
            <div class="toggle">
                <div class="title opened" id="opened1">
                    <img src="../images/icons/dark/imagesList.png" alt="" class="titleIcon" />
                    <h6>
                        <asp:Label ID="lblCaption" runat="server" Text="<%$Resources:CarInsurance,CustomerAndPolicy %>" />
                    </h6>
                </div>
                <div class="widgets">
                    <div class="form">
                        <fieldset class="step">
                            <div>
                                <asp:ValidationSummary HeaderText="Opps..,please complete all(*) fields." runat="server"
                                    ValidationGroup="nongg" ID="vsNewLeads" ShowMessageBox="false" ShowSummary="true"
                                    Font-Bold="true" />
                                <asp:Label runat="server" ID="lblLoadMessage" Font-Bold="true" ForeColor="Red" Text="" />
                                <div class="clear">
                                </div>
                            </div>
                            <div class="form">
                                <div id="divOne" class="oneTwo">
                                    <div class="toggle">
                                        <table cellpadding="0" cellspacing="0" width="100%" border="0" class="sTable">
                                            <tr>
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label6" Text="<%$Resources:General,InsuranceType%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlInsuranceType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlInsuranceType_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvInsuranceType" ControlToValidate="ddlInsuranceType"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr style="display: none;">
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label5" Text="<%$Resources:Proposal,TypeofVehicle%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlVehicleType" runat="server" >
                                                        
                                                        <asp:ListItem Value="110" Text="<%$ Resources:CarInsurance,VehicleType_Private%>" />
                                                        
                                                    </asp:DropDownList>
                                                    <asp:Label Visible="false" runat="server" ID="lblModelDesc" />
                                                    <asp:Label runat="server" ID="lblCarVehicleType" Text="" Visible="false" />
                                                </td>
                                            </tr>
                                            <tr style="display: none;">
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label26" Text="<%$Resources:Proposal,SumInsured%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:UpdatePanel ID="uplSumInsured" runat="server">
                                                        <ContentTemplate>
                                                            <asp:Label runat="server" Text="<%$ Resources:CarInsurance,SumInsured%>" ID="lblSumInsuredTitle"
                                                                Visible="false" />
                                                            <asp:Label runat="server" ID="lblSumInsured" Text="0" Visible="false" />
                                                            <div style="display: none">
                                                                <asp:TextBox ID="txtSumInsured" MaxLength="9" Width="80px" runat="server" />
                                                                <asp:TextBox ID="txtNewSumInsured" MaxLength="9" Width="80px" runat="server" />
                                                                <asp:TextBox ID="txtGroupNo" Text="-1" MaxLength="2" Width="30px" runat="server" />
                                                            </div>
                                                            <asp:RequiredFieldValidator ID="rfvSumInsured" InitialValue="0" ControlToValidate="txtSumInsured"
                                                                runat="server" ErrorMessage="" Text="" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                            <asp:RegularExpressionValidator ID="revSumInsured" ValidationExpression="^\d+$" ControlToValidate="txtSumInsured"
                                                                runat="server" ErrorMessage="" Text="" ValidationGroup="nongg"></asp:RegularExpressionValidator>
                                                            <asp:RequiredFieldValidator ID="rfvGroupNo" InitialValue="-1" ControlToValidate="txtSumInsured"
                                                                runat="server" ErrorMessage="" Text="" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </ContentTemplate>
                                                    </asp:UpdatePanel>
                                                </td>
                                            </tr>
                                            <tr runat="server" id="rowGarageType">
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label1" Text="<%$Resources:Proposal,GarageType%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlGarageType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlGarageType_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvGarageType" ControlToValidate="ddlGarageType"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label19" Text="<%$Resources:CarInsurance,EmailAddress%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtEmailAddress" runat="server" MaxLength="75" Width="250px" ReadOnly="false" />
                                                    <asp:RequiredFieldValidator ID="rfvEmailAddress" runat="server" Text="*" ValidationGroup="nongg"
                                                        ErrorMessage="" ControlToValidate="txtEmailAddress" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revEmailAddress" Text="<%$Resources:General,Notvalid%>"
                                                        runat="server" ValidationGroup="nongg" ErrorMessage="" ControlToValidate="txtEmailAddress"
                                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label21" Text="<%$Resources:Proposal,Gender%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlGender" runat="server">
                                                        <asp:ListItem Selected="True" Value="-1" Text="<%$ Resources:General,Select%>"></asp:ListItem>
                                                        <asp:ListItem Value="M" Text="<%$ Resources:Proposal,Male%>"></asp:ListItem>
                                                        <asp:ListItem Value="F" Text="<%$ Resources:Proposal,Female%>"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvGender" ControlToValidate="ddlGender"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label22" Text="<%$Resources:Proposal,DOB%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlDOBDay" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvDOBDay" ControlToValidate="ddlDOBDay"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    <asp:DropDownList ID="ddlDOBMonth" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvDOBMonth" ControlToValidate="ddlDOBMonth"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    <asp:DropDownList ID="ddlDOBYear" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvDOBYear" ControlToValidate="ddlDOBYear"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label23" Text="<%$Resources:Proposal,Occupation%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlOccupation" runat="server" Width="250px">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvOccupation" ControlToValidate="ddlOccupation"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="30" colspan="3">
                                                    <asp:Label runat="server" ID="lblMessage" Text="" Font-Bold="true" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>
                                <div id="divTwo" class="oneTwo">
                                    <div class="toggle">
                                        <table cellpadding="0" cellspacing="0" width="100%" border="0" class="sTable">
                                            <tr runat="server" id="divLastYearRefNo" visible="false">
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label30" Text="Last Year Quote Ref.No" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:Label runat="server" ID="lblLastYearCarID" Visible="false" />
                                                    <asp:Label runat="server" ID="lblLastYearRefNo" Font-Bold="true" Font-Size="Large"
                                                        Text="N/A" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label2" Text="<%$Resources:Proposal,CarYear%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlCarYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCarYear_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvCarYear" ControlToValidate="ddlCarYear"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label3" Text="<%$Resources:CarInsurance,CarMake%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList runat="server" ID="ddlCarMake" Width="250px" AutoPostBack="true"
                                                        OnSelectedIndexChanged="ddlCarMake_SelectedIndexChanged">
                                                        <asp:ListItem Value="-1" Text="<%$ Resources:General,Select%>"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvCarMake" ControlToValidate="ddlCarMake"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label27" Text="<%$Resources:Proposal,CarModel%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList runat="server" ID="ddlModelBodyCCDoor" Width="250px" AutoPostBack="True"
                                                        OnSelectedIndexChanged="ddlModelBodyCCDoor_SelectedIndexChanged">
                                                        <asp:ListItem Value="-1" Text="<%$ Resources:General,Select%>"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvModelBodyCCDoor" ControlToValidate="ddlModelBodyCCDoor"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label15" Text="<%$Resources:Proposal,CurrentInsurer%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlCurrentInsurer" runat="server" Width="250px">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvCurrentInsurer" ControlToValidate="ddlCurrentInsurer"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr id="trIsCTPL" runat="server">
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label24" Text="<%$Resources:NonGG,IsCTPL%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlCTPL" runat="server">
                                                        <asp:ListItem Value="-1" Text="<%$ Resources:General,Select%>"></asp:ListItem>
                                                        <asp:ListItem Value="1" Text="<%$ Resources:Proposal,Yes%>"></asp:ListItem>
                                                        <asp:ListItem Value="0" Text="<%$ Resources:Proposal,No%>"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvCTPL" ControlToValidate="ddlCTPL"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr id="trDEC" runat="server">
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label7" Text="<%$Resources:Proposal,DEC%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlDeduct" runat="server">
                                                        <asp:ListItem Text="<%$ Resources:Proposal,Option_DeductNo%>" Value="0" />
                                                        <asp:ListItem Text="<%$ Resources:Proposal,Option_DeductYes%>" Value="5000" />
                                                        <asp:ListItem Text="<%$ Resources:Proposal,Option_DeductAll%>" Value="-1" />
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr id="trProvinceRegistration" runat="server">
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label8" Text="<%$Resources:Proposal,RegistrationProvince%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlProvinceRegistration" Width="145px" runat="server">
                                                        <asp:ListItem Text="<%$ Resources:General,Select%>" Value="-1" />
                                                        <asp:ListItem Text="<%$ Resources:Proposal,Province_BKK%>" Value="BKK" />
                                                        <asp:ListItem Text="<%$ Resources:Proposal,Province_UPC%>" Value="UPC" />
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvProvinceRegistration" ControlToValidate="ddlProvinceRegistration"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr id="trIsClaim" runat="server">
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label10" Text="<%$Resources:Proposal,IsClaim%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlAnyClaim" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlAnyClaim_SelectedIndexChanged">
                                                        <asp:ListItem Value="-1" Text="<%$ Resources:General,Select%>"></asp:ListItem>
                                                        <asp:ListItem Value="1" Text="<%$ Resources:Proposal,Yes%>"></asp:ListItem>
                                                        <asp:ListItem Value="0" Text="<%$ Resources:Proposal,No%>"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvAnyClaim" ControlToValidate="ddlAnyClaim"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr id="trNCB" runat="server">
                                                <td width="200" height="25">
                                                    <asp:Label runat="server" ID="Label9" Text="<%$Resources:Proposal,NCB%>" />
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlNCB" runat="server">
                                                        <asp:ListItem Text="<%$ Resources:General,Select%>" Value="-1" />
                                                        <asp:ListItem Text="0 %" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="20 %" Value="20"></asp:ListItem>
                                                        <asp:ListItem Text="30 %" Value="30"></asp:ListItem>
                                                        <asp:ListItem Text="40 %" Value="40"></asp:ListItem>
                                                        <asp:ListItem Text="50 %" Value="50"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvNCB" ControlToValidate="ddlNCB"
                                                        ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <div style="display: none;">
                                <asp:TextBox runat="server" ReadOnly="true" ID="txtDriverId1" Text="0"></asp:TextBox>
                                <asp:TextBox runat="server" ReadOnly="true" ID="txtDriverId2" Text="0"></asp:TextBox>
                                <asp:TextBox runat="server" ReadOnly="true" ID="txtCarId"></asp:TextBox>
                                <asp:TextBox runat="server" ReadOnly="true" ID="txtCECarPolicyId"></asp:TextBox>
                                <asp:TextBox runat="server" ReadOnly="true" ID="txtCustomerId"></asp:TextBox>
                                <asp:TextBox runat="server" ReadOnly="true" ID="txtUserTypeId"></asp:TextBox>
                            </div>
                        </fieldset>
                    </div>
                </div>
            </div>
            <div class="toggle">
                <div class="title opened" id="opened2">
                    <img src="../images/icons/dark/clipboard.png" alt="" class="titleIcon" />
                    <h6>
                        <asp:Label runat="server" Text="<%$Resources:CarInsurance,NonGGPackages%>" ID="Label25" />
                        <asp:Label runat="server" Text="" ID="lblRenewalStatusMessage" />
                    </h6>
                </div>
                <div class="widgets">
                    <div class="form">
                        <fieldset class="step">
                            <asp:UpdatePanel ID="uplCXBrokerPremium" runat="server">
                                <ContentTemplate>
                                    <div style="display: none;">
                                        <asp:TextBox runat="server" ID="txtPremiumId" Text="0"></asp:TextBox>
                                    </div>
                                    <div class="form">
                                        <div id="div1" class="oneTwo">
                                            <div class="toggle">
                                                <table cellpadding="0" cellspacing="0" width="100%" border="0" class="sTable">
                                                    <tr>
                                                        <td width="180" height="25">
                                                            <%=GetGlobalResourceObject("CarInsurance", "CompanyName")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="ddlBrokerProvider" CausesValidation="false" runat="server"
                                                                OnSelectedIndexChanged="ddlBrokerProvider_SelectedIndexChanged" AutoPostBack="True">
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="rfvBrokerProvider" ValidationGroup="nongg" runat="server"
                                                                ControlToValidate="ddlBrokerProvider" InitialValue="-1" ErrorMessage="" Text="*" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsurance", "InsuranceType")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="ddlBrokerCoverType" runat="server" OnSelectedIndexChanged="ddlBrokerCoverType_SelectedIndexChanged"
                                                                AutoPostBack="True" CausesValidation="false" Enabled="false">
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="rfvBrokerCoverType" ValidationGroup="nongg" runat="server"
                                                                ControlToValidate="ddlBrokerCoverType" InitialValue="-1" ErrorMessage="" Text="*" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsurance", "GarageType")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="ddlBrokerGarageType" runat="server" CausesValidation="false"
                                                                AutoPostBack="true" OnSelectedIndexChanged="ddlBrokerGarageType_SelectedIndexChanged"
                                                                Enabled="false">
                                                                <asp:ListItem Value="-1" Text="<%$ Resources:CarInsurance,Select%>" />
                                                                <asp:ListItem Value="1" Text="<%$ Resources:CarInsurance,Garage_Authorized%>" />
                                                                <asp:ListItem Value="2" Text="<%$ Resources:CarInsurance,Garage_Dealer%>" />
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="rfvWorkShop" runat="server" ControlToValidate="ddlBrokerGarageType"
                                                                Display="Dynamic" ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            GG.COM Discount
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <table cellpadding="10">
                                                                <tr>
                                                                    <td>
                                                                        <asp:DropDownList CausesValidation="true" runat="server" ID="ddlDiscountPercentage"
                                                                            AutoPostBack="True" OnSelectedIndexChanged="ddlDiscountPercentage_SelectedIndexChanged">
                                                                            <asp:ListItem Text="0 %" Value="0" />
                                                                        </asp:DropDownList>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label runat="server" Font-Bold="true" ID="lblDiscountAmount" Text="0" />
                                                                        <asp:RequiredFieldValidator ID="rfvDiscountPercentage" runat="server" ControlToValidate="ddlDiscountPercentage"
                                                                            ErrorMessage="" Text="*" Display="Dynamic" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                                    </td>
                                                                    <td>
                                                                        Teledirect's Employee?
                                                                    </td>
                                                                    <td>
                                                                        <asp:CheckBox ID="chkCompanyStaff" Checked="false" runat="server" OnCheckedChanged="chkCompanyStaff_CheckedChanged"
                                                                            AutoPostBack="true" />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <!--Voluntary (VMI) Net Premium เบี้ยประกันภัยสุทธิ  -->
                                                            <%=GetGlobalResourceObject("NonGG", "NetPremium")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblNetPremium" Font-Bold="true" runat="server" Width="120px" />
                                                            <asp:TextBox ID="txtNetPremium" CausesValidation="false" ReadOnly="true" Visible="false"
                                                                runat="server" MaxLength="20" Width="120px"></asp:TextBox><asp:RequiredFieldValidator
                                                                    ID="rfvNetPremium" runat="server" ControlToValidate="txtNetPremium" ErrorMessage="Premium."
                                                                    Text="*" Display="Dynamic" ValidationGroup="nongg"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                                                                        ID="revNetPremium" runat="server" ControlToValidate="txtNetPremium" ValidationGroup="nongg"
                                                                        ErrorMessage="**" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <!--Duty Stamp (0.4%) อากรแสตมป์-->
                                                            <%=GetGlobalResourceObject("NonGG", "Duty")%>
                                                            (0.4%)
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTax" Font-Bold="true" runat="server" Width="200px" />
                                                            <asp:TextBox ID="txtTax" CausesValidation="false" runat="server" ReadOnly="true"
                                                                Visible="false" Text="" MaxLength="20" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvTax" runat="server" ControlToValidate="txtTax"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <!--VAT (7%) ภาษีมูลค่าเพิ่ม-->
                                                            <%=GetGlobalResourceObject("NonGG", "VAT")%>
                                                            (7%)
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblVAT" runat="server" Font-Bold="true" MaxLength="20" Width="200px" />
                                                            <asp:TextBox ID="txtVAT" runat="server" ReadOnly="true" Visible="false" Text="" MaxLength="20"
                                                                Width="200px"></asp:TextBox><asp:RequiredFieldValidator ID="rfvVAT" runat="server"
                                                                    ControlToValidate="txtVAT" Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <!--VMI Gross Premium เบี้ยประกันภัยรวม-->
                                                            <%=GetGlobalResourceObject("NonGG", "GrossPremium")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtGrossPremium" runat="server" MaxLength="12" Width="120px" AutoPostBack="True"
                                                                CausesValidation="true" OnTextChanged="txtGrossPremium_TextChanged"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvGrossPremium" runat="server" ControlToValidate="txtGrossPremium"
                                                                ErrorMessage="" Text="*" Display="Dynamic" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                            <asp:RegularExpressionValidator ID="revGrossPremium" runat="server" ControlToValidate="txtGrossPremium"
                                                                ValidationGroup="nongg" ErrorMessage="**" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <!--VMI Gross Premium After Discount เบี้ยประกันภัยรวมหลังหักส่วนลด-->
                                                            <%=GetGlobalResourceObject("NonGG", "VMIGrossPremiumAfterDiscount")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblAnnualPremium" runat="server" Width="120px" />
                                                            <asp:TextBox ID="txtAnnualPremium" CausesValidation="false" ReadOnly="true" runat="server"
                                                                MaxLength="20" Width="120px" Visible="false"></asp:TextBox><asp:RequiredFieldValidator
                                                                    ID="rfvAnnualPremium" runat="server" ControlToValidate="txtAnnualPremium" ErrorMessage="Premium."
                                                                    Text="*" Display="Dynamic" ValidationGroup="nongg"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                                                                        ID="revAnnualPremium" runat="server" ControlToValidate="txtAnnualPremium" ValidationGroup="nongg"
                                                                        ErrorMessage="**" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <!--CTPL / CMI Gross Premium (Compulsory Insurance) เบี้ย พรบ.-->
                                                            <%=GetGlobalResourceObject("NonGG", "CTPLCMIGP")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="ddlVehicleBodyType" CausesValidation="true" Enabled="true"
                                                                OnSelectedIndexChanged="ddlVehicleBodyType_SelectedIndexChanged" runat="server"
                                                                AutoPostBack="true">
                                                                <asp:ListItem Text="<%$Resources:CarInsurance,Sedan%>" Value="1" Selected="True" />
                                                                <asp:ListItem Text="<%$Resources:CarInsurance,Pickup%>" Value="2" />
                                                                <asp:ListItem Text="<%$Resources:General,Others%>" Value="99" />
                                                            </asp:DropDownList>
                                                            <asp:TextBox ID="txtCTPL" CausesValidation="true" ReadOnly="false" runat="server"
                                                                Text="645.21" MaxLength="20" Width="50px" AutoPostBack="True" OnTextChanged="txtCTPL_TextChanged"></asp:TextBox>
                                                            <asp:CheckBox ID="chkCTPL" CausesValidation="false" runat="server" Checked="true"
                                                                AutoPostBack="True" OnCheckedChanged="chkCTPL_CheckedChanged" />
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCTPL"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                            <asp:RegularExpressionValidator ID="revCTPL" runat="server" ControlToValidate="txtCTPL"
                                                                ValidationGroup="nongg" ErrorMessage="**" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <!--Total Gross Premium (No Discount) เบี้ยประกันภัยรวมไม่หักส่วนลด-->
                                                            <%=GetGlobalResourceObject("NonGG", "TotalGPNoDiscount")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtFinalAnnualPremiumNoDisc" CausesValidation="false" runat="server"
                                                                MaxLength="20" Width="120px" Visible="true" ReadOnly="true" Font-Bold="true"
                                                                Font-Size="Large"></asp:TextBox>
                                                            <asp:CheckBox ID="chkChangePremium" CausesValidation="false" runat="server" Checked="false"
                                                                AutoPostBack="True" OnCheckedChanged="chkChangePremium_CheckedChanged" Text=" Edit" />
                                                            <asp:RequiredFieldValidator ID="rfvFinalAnnualPremiumNoDisc" runat="server" ControlToValidate="txtFinalAnnualPremiumNoDisc"
                                                                ErrorMessage="" Text="*" Display="Dynamic" ValidationGroup="nongg"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                                                                    ID="revFinalAnnualPremiumNoDisc" runat="server" ControlToValidate="txtFinalAnnualPremiumNoDisc"
                                                                    ValidationGroup="nongg" ErrorMessage="**" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <!--Total Gross Premium (with Discount) เบี้ยประกันภัยรวมหักส่วนลดแล้ว-->
                                                            <%=GetGlobalResourceObject("NonGG", "TotalGPWithDiscount")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtFinalAnnualPremium" CausesValidation="false" runat="server" MaxLength="20"
                                                                Width="120px" Visible="true" ReadOnly="true" Font-Bold="true" Font-Size="Large"></asp:TextBox><asp:RequiredFieldValidator
                                                                    ID="rfvFinalAnnualPremium" runat="server" ControlToValidate="txtFinalAnnualPremium"
                                                                    ErrorMessage="" Text="*" Display="Dynamic" ValidationGroup="nongg"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                                                                        ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtFinalAnnualPremium"
                                                                        ValidationGroup="nongg" ErrorMessage="**" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("General", "Comments")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtPremiumChangeComments" CausesValidation="false" runat="server"
                                                                MaxLength="50" Width="220px" Visible="true" TextMode="MultiLine" Rows="3" Columns="50" />
                                                            <asp:RequiredFieldValidator ID="rfvPremiumChangeComments" Enabled="false" runat="server"
                                                                ControlToValidate="txtPremiumChangeComments" ErrorMessage="" Text="*" Display="Dynamic"
                                                                ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("General", "Status")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:CheckBox ID="chkSelected" Checked="true" Enabled="false" runat="server" Text="<%$Resources:General,SelectThisPremium%>" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                        </td>
                                                        <td>
                                                            &nbsp;
                                                        </td>
                                                        <td>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblPremiumMessage" runat="server" ForeColor="Green" Font-Bold="true"></asp:Label>
                                                            <asp:Label ID="lblPremiumError" runat="server" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </div>
                                        <div id="div2" class="oneTwo">
                                            <div class="toggle">
                                                <table cellpadding="0" cellspacing="0" width="100%" border="0" class="sTable">
                                                    <tr>
                                                        <td width="200" height="25">
                                                            <%=GetGlobalResourceObject("General", "ReferenceNo")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblQRefNo" runat="server" Font-Bold="true" Font-Size="Medium" Text="" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "LicensePlate")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox runat="server" ID="txtEditLicensePlate" Width="200px" MaxLength="30" />
                                                            <asp:RequiredFieldValidator ID="rfvEditLicensePlate" runat="server" ControlToValidate="txtEditLicensePlate"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25" colspan="3">
                                                            <%=GetGlobalResourceObject("CarInsurance", "AccessaryAndModificationAmount")%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25" colspan="3">
                                                            <asp:TextBox ID="txtAccModCost" CausesValidation="false" runat="server" Text="0"
                                                                MaxLength="50" Width="500px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvAccModCost" runat="server" ControlToValidate="txtAccModCost"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "TPBIP")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtTPBIP" CausesValidation="false" runat="server" Text="1,000,000"
                                                                MaxLength="50" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvTPBIP" runat="server" ControlToValidate="txtTPBIP"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "TPBIA")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtTPBIA" CausesValidation="false" runat="server" Text="10,000,000"
                                                                MaxLength="50" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTPBIA"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "TPPD")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtTPPD" CausesValidation="false" runat="server" Text="5,000,000"
                                                                MaxLength="50" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvTPPD" runat="server" ControlToValidate="txtTPPD"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "OwnDamage")%><br />
                                                            /
                                                            <asp:Label runat="server" Text="<%$Resources:CarInsurance,SumInsured%>" ID="Label28" />
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtOwnDamage" CausesValidation="false" runat="server" Text="20,000"
                                                                MaxLength="20" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvOwnDamage" runat="server" ControlToValidate="txtOwnDamage"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "FireTheft")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtFireTheft" CausesValidation="false" runat="server" Text="2,200,000"
                                                                MaxLength="50" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvFireTheft" runat="server" ControlToValidate="txtFireTheft"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "FloodCover")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtFloodCoverAmount" CausesValidation="false" runat="server" Text="0"
                                                                MaxLength="20" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvFloodCoverAmount" runat="server" ControlToValidate="txtFloodCoverAmount"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "12")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtDeductible" CausesValidation="false" runat="server" MaxLength="50"
                                                                Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvDeductible" runat="server" ControlToValidate="txtDeductible"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                            <asp:CustomValidator ControlToValidate="txtDeductible" Display="Dynamic" ValidationGroup="nongg"
                                                                ID="csvDeductibleValid" runat="server" ErrorMessage="<%$Resources:General,DeductableValid%>"
                                                                Text="" OnServerValidate="csvDeductibleValid_ServerValidate"></asp:CustomValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "PA")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtPA" CausesValidation="false" runat="server" Text="200,000(12)"
                                                                MaxLength="50" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvPA" runat="server" ControlToValidate="txtPA" Display="Dynamic"
                                                                ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "MED")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtMED" CausesValidation="false" runat="server" Text="200,000(12)"
                                                                MaxLength="50" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvMED" runat="server" ControlToValidate="txtPA"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "BailBond")%>
                                                        </td>
                                                        <td>
                                                            :
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtBailBond" CausesValidation="false" runat="server" Text="250,000"
                                                                MaxLength="50" Width="200px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvBailBond" runat="server" ControlToValidate="txtPA"
                                                                Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </fieldset>
                    </div>
                </div>
            </div>
            <div class="toggle">
                <div class="title opened" id="opened4">
                    <img src="../images/icons/dark/imagesList.png" alt="" class="titleIcon" />
                    <h6>
                        <asp:Label ID="Label35" runat="server" Text="More Car Details" />
                    </h6>
                </div>
                <div class="widgets">
                    <div class="form">
                        <fieldset class="step">
                            <div class="form">
                                <div class="form">
                                    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="sTable">
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "ChassisNumber")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtChassisNumber" runat="server" MaxLength="50" Width="160px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvChassisNumber" ControlToValidate="txtChassisNumber"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                            <td width="180">
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "ApplicationDate")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:DropDownList ID="ddlApplicationDay" runat="server">
                                                    <asp:ListItem Value="01">01</asp:ListItem>
                                                    <asp:ListItem Value="02">02</asp:ListItem>
                                                    <asp:ListItem Value="03">03</asp:ListItem>
                                                    <asp:ListItem Value="04">04</asp:ListItem>
                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                    <asp:ListItem Value="06">06</asp:ListItem>
                                                    <asp:ListItem Value="07">07</asp:ListItem>
                                                    <asp:ListItem Value="08">08</asp:ListItem>
                                                    <asp:ListItem Value="09">09</asp:ListItem>
                                                    <asp:ListItem Value="10">10</asp:ListItem>
                                                    <asp:ListItem Value="11">11</asp:ListItem>
                                                    <asp:ListItem Value="12">12</asp:ListItem>
                                                    <asp:ListItem Value="13">13</asp:ListItem>
                                                    <asp:ListItem Value="14">14</asp:ListItem>
                                                    <asp:ListItem Value="15">15</asp:ListItem>
                                                    <asp:ListItem Value="16">16</asp:ListItem>
                                                    <asp:ListItem Value="17">17</asp:ListItem>
                                                    <asp:ListItem Value="18">18</asp:ListItem>
                                                    <asp:ListItem Value="19">19</asp:ListItem>
                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                    <asp:ListItem Value="21">21</asp:ListItem>
                                                    <asp:ListItem Value="22">22</asp:ListItem>
                                                    <asp:ListItem Value="23">23</asp:ListItem>
                                                    <asp:ListItem Value="24">24</asp:ListItem>
                                                    <asp:ListItem Value="25">25</asp:ListItem>
                                                    <asp:ListItem Value="26">26</asp:ListItem>
                                                    <asp:ListItem Value="27">27</asp:ListItem>
                                                    <asp:ListItem Value="28">28</asp:ListItem>
                                                    <asp:ListItem Value="29">29</asp:ListItem>
                                                    <asp:ListItem Value="30">30</asp:ListItem>
                                                    <asp:ListItem Value="31">31</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="ddlApplicationMonth" runat="server">
                                                    <asp:ListItem Value="01">Jan</asp:ListItem>
                                                    <asp:ListItem Value="02">Feb</asp:ListItem>
                                                    <asp:ListItem Value="03">Mar</asp:ListItem>
                                                    <asp:ListItem Value="04">Apr</asp:ListItem>
                                                    <asp:ListItem Value="05">May</asp:ListItem>
                                                    <asp:ListItem Value="06">Jun</asp:ListItem>
                                                    <asp:ListItem Value="07">Jul</asp:ListItem>
                                                    <asp:ListItem Value="08">Aug</asp:ListItem>
                                                    <asp:ListItem Value="09">Sep</asp:ListItem>
                                                    <asp:ListItem Value="10">Oct</asp:ListItem>
                                                    <asp:ListItem Value="11">Nov</asp:ListItem>
                                                    <asp:ListItem Value="12">Dec</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="ddlApplicationYear" runat="server">
                                                    <asp:ListItem Value="2012">2012</asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "EngineNumber")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtEngineNumber" runat="server" MaxLength="50" Width="160px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvEngineNumber" ControlToValidate="txtEngineNumber"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "PolicyStartDate_Voluntary")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:DropDownList ID="ddlCommenceDay" runat="server">
                                                    <asp:ListItem Value="01">01</asp:ListItem>
                                                    <asp:ListItem Value="02">02</asp:ListItem>
                                                    <asp:ListItem Value="03">03</asp:ListItem>
                                                    <asp:ListItem Value="04">04</asp:ListItem>
                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                    <asp:ListItem Value="06">06</asp:ListItem>
                                                    <asp:ListItem Value="07">07</asp:ListItem>
                                                    <asp:ListItem Value="08">08</asp:ListItem>
                                                    <asp:ListItem Value="09">09</asp:ListItem>
                                                    <asp:ListItem Value="10">10</asp:ListItem>
                                                    <asp:ListItem Value="11">11</asp:ListItem>
                                                    <asp:ListItem Value="12">12</asp:ListItem>
                                                    <asp:ListItem Value="13">13</asp:ListItem>
                                                    <asp:ListItem Value="14">14</asp:ListItem>
                                                    <asp:ListItem Value="15">15</asp:ListItem>
                                                    <asp:ListItem Value="16">16</asp:ListItem>
                                                    <asp:ListItem Value="17">17</asp:ListItem>
                                                    <asp:ListItem Value="18">18</asp:ListItem>
                                                    <asp:ListItem Value="19">19</asp:ListItem>
                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                    <asp:ListItem Value="21">21</asp:ListItem>
                                                    <asp:ListItem Value="22">22</asp:ListItem>
                                                    <asp:ListItem Value="23">23</asp:ListItem>
                                                    <asp:ListItem Value="24">24</asp:ListItem>
                                                    <asp:ListItem Value="25">25</asp:ListItem>
                                                    <asp:ListItem Value="26">26</asp:ListItem>
                                                    <asp:ListItem Value="27">27</asp:ListItem>
                                                    <asp:ListItem Value="28">28</asp:ListItem>
                                                    <asp:ListItem Value="29">29</asp:ListItem>
                                                    <asp:ListItem Value="30">30</asp:ListItem>
                                                    <asp:ListItem Value="31">31</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="ddlCommenceMonth" runat="server">
                                                    <asp:ListItem Value="01">Jan</asp:ListItem>
                                                    <asp:ListItem Value="02">Feb</asp:ListItem>
                                                    <asp:ListItem Value="03">Mar</asp:ListItem>
                                                    <asp:ListItem Value="04">Apr</asp:ListItem>
                                                    <asp:ListItem Value="05">May</asp:ListItem>
                                                    <asp:ListItem Value="06">Jun</asp:ListItem>
                                                    <asp:ListItem Value="07">Jul</asp:ListItem>
                                                    <asp:ListItem Value="08">Aug</asp:ListItem>
                                                    <asp:ListItem Value="09">Sep</asp:ListItem>
                                                    <asp:ListItem Value="10">Oct</asp:ListItem>
                                                    <asp:ListItem Value="11">Nov</asp:ListItem>
                                                    <asp:ListItem Value="12">Dec</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="ddlCommenceYear" runat="server">
                                                    <asp:ListItem Value="2012">2012</asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "RegistrationProvince")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtRegistrationProvince" runat="server" MaxLength="75" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvRegistrationProvince" ControlToValidate="txtRegistrationProvince"
                                                    Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "PolicyStartDate_Compulsory")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:DropDownList ID="ddlPolicyDay" runat="server">
                                                    <asp:ListItem Value="01">01</asp:ListItem>
                                                    <asp:ListItem Value="02">02</asp:ListItem>
                                                    <asp:ListItem Value="03">03</asp:ListItem>
                                                    <asp:ListItem Value="04">04</asp:ListItem>
                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                    <asp:ListItem Value="06">06</asp:ListItem>
                                                    <asp:ListItem Value="07">07</asp:ListItem>
                                                    <asp:ListItem Value="08">08</asp:ListItem>
                                                    <asp:ListItem Value="09">09</asp:ListItem>
                                                    <asp:ListItem Value="10">10</asp:ListItem>
                                                    <asp:ListItem Value="11">11</asp:ListItem>
                                                    <asp:ListItem Value="12">12</asp:ListItem>
                                                    <asp:ListItem Value="13">13</asp:ListItem>
                                                    <asp:ListItem Value="14">14</asp:ListItem>
                                                    <asp:ListItem Value="15">15</asp:ListItem>
                                                    <asp:ListItem Value="16">16</asp:ListItem>
                                                    <asp:ListItem Value="17">17</asp:ListItem>
                                                    <asp:ListItem Value="18">18</asp:ListItem>
                                                    <asp:ListItem Value="19">19</asp:ListItem>
                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                    <asp:ListItem Value="21">21</asp:ListItem>
                                                    <asp:ListItem Value="22">22</asp:ListItem>
                                                    <asp:ListItem Value="23">23</asp:ListItem>
                                                    <asp:ListItem Value="24">24</asp:ListItem>
                                                    <asp:ListItem Value="25">25</asp:ListItem>
                                                    <asp:ListItem Value="26">26</asp:ListItem>
                                                    <asp:ListItem Value="27">27</asp:ListItem>
                                                    <asp:ListItem Value="28">28</asp:ListItem>
                                                    <asp:ListItem Value="29">29</asp:ListItem>
                                                    <asp:ListItem Value="30">30</asp:ListItem>
                                                    <asp:ListItem Value="31">31</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="ddlPolicyMonth" runat="server">
                                                    <asp:ListItem Value="01">Jan</asp:ListItem>
                                                    <asp:ListItem Value="02">Feb</asp:ListItem>
                                                    <asp:ListItem Value="03">Mar</asp:ListItem>
                                                    <asp:ListItem Value="04">Apr</asp:ListItem>
                                                    <asp:ListItem Value="05">May</asp:ListItem>
                                                    <asp:ListItem Value="06">Jun</asp:ListItem>
                                                    <asp:ListItem Value="07">Jul</asp:ListItem>
                                                    <asp:ListItem Value="08">Aug</asp:ListItem>
                                                    <asp:ListItem Value="09">Sep</asp:ListItem>
                                                    <asp:ListItem Value="10">Oct</asp:ListItem>
                                                    <asp:ListItem Value="11">Nov</asp:ListItem>
                                                    <asp:ListItem Value="12">Dec</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="ddlPolicyYear" runat="server">
                                                    <asp:ListItem Value="2012">2012</asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <!--Insurer -->
                                        <tr>
                                            <td colspan="4">
                                                <h6>
                                                    <%=GetGlobalResourceObject("Proposal", "InsuredPerson")%>
                                                </h6>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "CustomerType")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:DropDownList ID="ddlCustomerType" runat="server" Width="165px">
                                                    <asp:ListItem Value="INDI" Text="<%$ Resources:Proposal,Individual%>"></asp:ListItem>
                                                    <asp:ListItem Value="CORP" Text="<%$ Resources:Proposal,Corporate%>"></asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "Beneficiary")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtBeneficiary" runat="server" MaxLength="50" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvBeneficiary" ControlToValidate="txtBeneficiary"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revBeneficiary" runat="server" ControlToValidate="txtBeneficiary"
                                                    ValidationExpression="^([\u0000-\uDFFF']{1,50})$|^([a-zA-Z''-'\s]{1,50})$" ValidationGroup="nongg"
                                                    ErrorMessage="" Text="*"></asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "Prefix")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtPrefix" runat="server" MaxLength="20" Width="160px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvPrefix" ControlToValidate="txtPrefix"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "RegisteredOwner")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtInsuredPerson" runat="server" MaxLength="75" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvInsuredPerson" ControlToValidate="txtInsuredPerson"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revInsuredPerson" runat="server" ControlToValidate="txtInsuredPerson"
                                                    ValidationExpression="^([\u0000-\uDFFF']{1,75})$|^([a-zA-Z''-'\s]{1,75})$" ValidationGroup="nongg"
                                                    ErrorMessage="" Text="*"></asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "CustomerName")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtCustomerName" runat="server" MaxLength="75" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvCustomerName" ControlToValidate="txtCustomerName"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revCustomerName" runat="server" ControlToValidate="txtCustomerName"
                                                    ValidationExpression="^([\u0000-\uDFFF']{1,75})$|^([a-zA-Z''-'\s]{1,75})$" ValidationGroup="nongg"
                                                    ErrorMessage="" Text="*"></asp:RegularExpressionValidator>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "CurrentAddress")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtCurrentAddress" runat="server" MaxLength="100" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvCurrentAddress" ControlToValidate="txtCurrentAddress"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                            </td>
                                            <td align="left">
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "DistrictSub")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtSubDistrict" runat="server" MaxLength="100" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvSubDistrict" ControlToValidate="txtSubDistrict"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "Package")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtPackage" runat="server" MaxLength="100" Width="250px"></asp:TextBox>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "StateProvince")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtStateProvince" runat="server" MaxLength="100" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvStateProvince" ControlToValidate="txtStateProvince"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "ContactNo")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtContactNumber" runat="server" MaxLength="15" Width="160px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvContactNumber" ControlToValidate="txtContactNumber"
                                                    Display="Dynamic" ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revContactNumber" runat="server" ControlToValidate="txtContactNumber"
                                                    Display="Dynamic" ValidationGroup="nongg" ErrorMessage="<%$Resources:General,Notvalid%>"
                                                    ValidationExpression="^[0-9]+(\[0-9])?$"></asp:RegularExpressionValidator>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "Province")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtProvince" runat="server" MaxLength="100" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvProvince" ControlToValidate="txtProvince"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "NamedDriver")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:DropDownList ID="ddlNamedDriver" runat="server" Width="50px" AutoPostBack="true"
                                                    OnSelectedIndexChanged="ddlNamedDriver_SelectedIndexChanged">
                                                    <asp:ListItem Value="0" Selected="True">0</asp:ListItem>
                                                    <asp:ListItem Value="1">1</asp:ListItem>
                                                    <asp:ListItem Value="2">2</asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "PostalCode")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtPostalCode" runat="server" MaxLength="5" Width="160px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvPostalCode" ControlToValidate="txtPostalCode"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revPostalCode" runat="server" ControlToValidate="txtPostalCode"
                                                    Display="Dynamic" ValidationGroup="nongg" ErrorMessage="<%$Resources:General,Notvalid%>"
                                                    ValidationExpression="^[0-9]+(\[0-9])?$"></asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <!--Named Driver -->
                                        <tr>
                                            <td colspan="4">
                                                <h6>
                                                    <%=GetGlobalResourceObject("Proposal", "NamedDriver")%>
                                                </h6>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "DriverFirstDOB")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:DropDownList ID="ddlDriver1DOBDay" runat="server" Enabled="false">
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver1DOBDay" ControlToValidate="ddlDriver1DOBDay"
                                                    ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:DropDownList ID="ddlDriver1DOBMonth" runat="server" Enabled="false">
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver1DOBMonth" ControlToValidate="ddlDriver1DOBMonth"
                                                    ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:DropDownList ID="ddlDriver1DOBYear" runat="server" Enabled="false">
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver1DOBYear" ControlToValidate="ddlDriver1DOBYear"
                                                    ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "DriverTwoDOB")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:DropDownList ID="ddlDriver2DOBDay" runat="server" Enabled="false">
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver2DOBDay" ControlToValidate="ddlDriver2DOBDay"
                                                    ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:DropDownList ID="ddlDriver2DOBMonth" runat="server" Enabled="false">
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver2DOBMonth" ControlToValidate="ddlDriver2DOBMonth"
                                                    ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:DropDownList ID="ddlDriver2DOBYear" runat="server" Enabled="false">
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver2DOBYear" ControlToValidate="ddlDriver2DOBYear"
                                                    ErrorMessage="" Text="*" InitialValue="-1" ValidationGroup="nongg" Display="Dynamic"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "DriverFirst")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtDriverFirst" runat="server" MaxLength="50" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriverFirst" ControlToValidate="txtDriverFirst"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revDriverFirst" runat="server" ControlToValidate="txtDriverFirst"
                                                    ValidationExpression="^([\u0000-\uDFFF']{1,50})$|^([a-zA-Z''-'\s]{1,50})$" ValidationGroup="nongg"
                                                    ErrorMessage="" Text="*"></asp:RegularExpressionValidator>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "DriverTwo")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtDriverTwo" runat="server" MaxLength="50" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriverTwo" ControlToValidate="txtDriverTwo"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revDriverTwo" runat="server" ControlToValidate="txtDriverTwo"
                                                    ValidationExpression="^([\u0000-\uDFFF']{1,50})$|^([a-zA-Z''-'\s]{1,50})$" ValidationGroup="nongg"
                                                    ErrorMessage="" Text="*"></asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "Driver1IDNo")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtDriver1IDNo" runat="server" MaxLength="13" Width="150px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver1IDNo" ControlToValidate="txtDriver1IDNo"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "Driver2IDNo")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtDriver2IDNo" runat="server" MaxLength="13" Width="150px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver2IDNo" ControlToValidate="txtDriver2IDNo"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "Driver1LicenseNo")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtDriver1LicenseNo" runat="server" MaxLength="20" Width="150px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver1LicenseNo" ControlToValidate="txtDriver1LicenseNo"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                            <td>
                                                <label>
                                                    <%=GetGlobalResourceObject("Proposal", "Driver2LicenseNo")%>
                                                </label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtDriver2LicenseNo" runat="server" MaxLength="20" Width="150px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="rfvDriver2LicenseNo" ControlToValidate="txtDriver2LicenseNo"
                                                    ErrorMessage="" Text="*" ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>
            </div>
            <div class="toggle">
                <div class="title opened" id="opened3">
                    <img src="../images/icons/dark/clipboard.png" alt="" class="titleIcon" />
                    <h6>
                        <asp:Label runat="server" Text="Policy Issued" ID="Label29" />
                        <asp:Label runat="server" Text="" ID="Label31" />
                    </h6>
                </div>
                <div class="widgets">
                    <div class="form">
                        <fieldset class="step">
                            <div class="form">
                                <div class="formRow" runat="server" id="divTransDate">
                                    <asp:Label runat="server" ID="lblTransID" Text="-1" Visible="false" />
                                    <asp:Label runat="server" ID="Label32" Text="<%$Resources:General,Date%>" />
                                    <div class="formRight">
                                        <asp:DropDownList ID="ddlTransDay" runat="server" ToolTip="Choose Day">
                                            <asp:ListItem Value="01">01</asp:ListItem>
                                            <asp:ListItem Value="02">02</asp:ListItem>
                                            <asp:ListItem Value="03">03</asp:ListItem>
                                            <asp:ListItem Value="04">04</asp:ListItem>
                                            <asp:ListItem Value="05">05</asp:ListItem>
                                            <asp:ListItem Value="06">06</asp:ListItem>
                                            <asp:ListItem Value="07">07</asp:ListItem>
                                            <asp:ListItem Value="08">08</asp:ListItem>
                                            <asp:ListItem Value="09">09</asp:ListItem>
                                            <asp:ListItem Value="10">10</asp:ListItem>
                                            <asp:ListItem Value="11">11</asp:ListItem>
                                            <asp:ListItem Value="12">12</asp:ListItem>
                                            <asp:ListItem Value="13">13</asp:ListItem>
                                            <asp:ListItem Value="14">14</asp:ListItem>
                                            <asp:ListItem Value="15">15</asp:ListItem>
                                            <asp:ListItem Value="16">16</asp:ListItem>
                                            <asp:ListItem Value="17">17</asp:ListItem>
                                            <asp:ListItem Value="18">18</asp:ListItem>
                                            <asp:ListItem Value="19">19</asp:ListItem>
                                            <asp:ListItem Value="20">20</asp:ListItem>
                                            <asp:ListItem Value="21">21</asp:ListItem>
                                            <asp:ListItem Value="22">22</asp:ListItem>
                                            <asp:ListItem Value="23">23</asp:ListItem>
                                            <asp:ListItem Value="24">24</asp:ListItem>
                                            <asp:ListItem Value="25">25</asp:ListItem>
                                            <asp:ListItem Value="26">26</asp:ListItem>
                                            <asp:ListItem Value="27">27</asp:ListItem>
                                            <asp:ListItem Value="28">28</asp:ListItem>
                                            <asp:ListItem Value="29">29</asp:ListItem>
                                            <asp:ListItem Value="30">30</asp:ListItem>
                                            <asp:ListItem Value="31">31</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="ddlTransMonth" runat="server">
                                            <asp:ListItem Value="01">Jan</asp:ListItem>
                                            <asp:ListItem Value="02">Feb</asp:ListItem>
                                            <asp:ListItem Value="03">Mar</asp:ListItem>
                                            <asp:ListItem Value="04">Apr</asp:ListItem>
                                            <asp:ListItem Value="05">May</asp:ListItem>
                                            <asp:ListItem Value="06">Jun</asp:ListItem>
                                            <asp:ListItem Value="07">Jul</asp:ListItem>
                                            <asp:ListItem Value="08">Aug</asp:ListItem>
                                            <asp:ListItem Value="09">Sep</asp:ListItem>
                                            <asp:ListItem Value="10">Oct</asp:ListItem>
                                            <asp:ListItem Value="11">Nov</asp:ListItem>
                                            <asp:ListItem Value="12">Dec</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="ddlTransYear" runat="server">
                                            <asp:ListItem Value="2012">2012</asp:ListItem>
                                        </asp:DropDownList>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="formRow" runat="server" id="divGrossPremium">
                                    <asp:Label runat="server" ID="Label33" Text="<%$Resources:NonGG,GrossPremium%>" />
                                    <div class="formRight">
                                        <asp:TextBox ID="txtPolicyGrossPremium" runat="server" MaxLength="12" Width="120px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvPolicyGrossPremium" runat="server" ControlToValidate="txtPolicyGrossPremium"
                                            ErrorMessage="Please enter gross premium amount." Text="*" Display="Dynamic"
                                            ValidationGroup="nongg"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revPolicyGrossPremium" runat="server" ControlToValidate="txtPolicyGrossPremium"
                                            ValidationGroup="nongg" Text="**" ErrorMessage="Invalid gross premium amount."
                                            ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="formRow">
                                    <asp:Label runat="server" ID="lblPolicyNo" Text="Policy No." />
                                    <div class="formRight">
                                        <asp:TextBox runat="server" MaxLength="50" CausesValidation="false" Width="250px"
                                            ID="txtPolicyNo" />
                                        <asp:RequiredFieldValidator ID="rfvPolicyNo" Enabled="true" Display="Dynamic" ValidationGroup="nongg"
                                            runat="server" ControlToValidate="txtPolicyNo" ErrorMessage="Please enter policy number."
                                            Text="*" />
                                        <br />
                                        <asp:Label runat="server" ID="lblSummaryMessage" Font-Bold="true" ForeColor="Red"
                                            Text="" />
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                
                                <div class="formRow">
                                    <div class="formRight">
                                        <asp:Button ID="btnSubmit" runat="server" Width="150px" OnClick="btnSubmit_Click"
                                            ValidationGroup="nongg" CssClass="blueB" Text="<%$Resources:General,Submit%>"
                                            OnClientClick="return SubmitConfirm();" />
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                                <div class="formRow">
                                    <div class="formRight">
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>

    <script type="text/javascript">

        function SubmitConfirm() {
            var _retVal = false;
            if (Page_ClientValidate('nongg')) {
                _retVal = confirm('<%=GetGlobalResourceObject("General", "ConfirmSubmit")%>');
            }
            return _retVal;
        }

        function ResetConfirm() {
            var _retVal = false;

            _retVal = confirm('<%=GetGlobalResourceObject("General", "ConfirmRESETMessage")%>');
            return _retVal;
        }

        var prm = Sys.WebForms.PageRequestManager.getInstance();
        prm.add_initializeRequest(InitializeRequest);
        prm.add_endRequest(EndRequest);
        var postBackElement;
        function InitializeRequest(sender, args) {
            if (prm.get_isInAsyncPostBack())
                args.set_cancel(true);
            postBackElement = args.get_postBackElement();
            OnOffUpdateProgress(true);
        }
        var dGarage = true;
        var dModification = true;
        var tAccModAmount = true;
        var dAnyClaim = true;
        var dNamedDrivers = true;
        function OnOffUpdateProgress(onOff) {
            //if ($get('<=ddlInsuranceType.ClientID>') != null) {
            //    $get('<=ddlInsuranceType.ClientID>').disabled = onOff;
            //}

            if ($get('<%=ddlGarageType.ClientID%>') != null) {
                dGarage = $get('<%=ddlGarageType.ClientID%>').disabled;
                $get('<%=ddlGarageType.ClientID%>').disabled = onOff;
            }

            if ($get('<%=ddlCarYear.ClientID%>') != null) {
                $get('<%=ddlCarYear.ClientID%>').disabled = onOff;
            }

            if ($get('<%=ddlCarMake.ClientID%>') != null) {
                $get('<%=ddlCarMake.ClientID%>').disabled = onOff;
            }

            if ($get('<%=ddlModelBodyCCDoor.ClientID%>') != null) {
                $get('<%=ddlModelBodyCCDoor.ClientID%>').disabled = onOff;
            }

            //            if ($get('<ddlModification.ClientID>') != null) {
            //                dModification = $get('<ddlModification.ClientID>').disabled;
            //                $get('<ddlModification.ClientID>').disabled = onOff;
            //            }

            //            if ($get('<txtAccModAmount.ClientID>') != null) {
            //                tAccModAmount = $get('<txtAccModAmount.ClientID>').disabled;
            //                $get('<txtAccModAmount.ClientID>').disabled = onOff;
            //            }

            if ($get('<%=ddlAnyClaim.ClientID%>') != null) {
                dAnyClaim = $get('<%=ddlAnyClaim.ClientID%>').disabled;
                $get('<%=ddlAnyClaim.ClientID%>').disabled = onOff;
            }
            if ($get('<%=ddlNamedDriver.ClientID%>') != null) {
                dNamedDrivers = $get('<%=ddlNamedDriver.ClientID%>').disabled;
                $get('<%=ddlNamedDriver.ClientID%>').disabled = onOff;
            }

            if ($get('<%=btnSubmit.ClientID%>') != null) {
                $get('<%=btnSubmit.ClientID%>').disabled = onOff;
            }

            if ($get('<%=lblLoadMessage.ClientID%>') != null) {
                if (onOff) {
                    $get('<%=lblLoadMessage.ClientID%>').innerHTML = 'Processing... please wait';
                }
            }

        }

        function EndRequest(sender, args) {
            OnOffUpdateProgress(false);
            if ($get('<%=ddlGarageType.ClientID%>') != null) {
                $get('<%=ddlGarageType.ClientID%>').disabled = dGarage;
            }
            //            if ($get('<ddlModification.ClientID>') != null) {
            //                $get('<ddlModification.ClientID>').disabled = dModification;
            //            }
            //            if ($get('<txtAccModAmount.ClientID>') != null) {
            //                $get('<txtAccModAmount.ClientID>').disabled = tAccModAmount;
            //            }
            if ($get('<%=ddlAnyClaim.ClientID%>') != null) {
                $get('<%=ddlAnyClaim.ClientID%>').disabled = dAnyClaim;
            }
            if ($get('<%=ddlNamedDriver.ClientID%>') != null) {
                $get('<%=ddlNamedDriver.ClientID%>').disabled = dNamedDrivers;
            }
        }

    </script>

</asp:Content>
